package com.hkts.naturalgas.base.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hkts.naturalgas.base.entity.Ozone;
import com.hkts.naturalgas.base.entity.RoastingDesulphurizing;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hkts.naturalgas.base.entity.RoastingPurificationBleaching;
import com.hkts.naturalgas.model.ResultData;

import java.util.Date;
import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author yck
 * @since 2021-05-31
 */
public interface IRoastingDesulphurizingService extends IService<RoastingDesulphurizing> {

    /**
     * 分页查询
     *
     * @param bootStrapTable
     * @param roastingDesulphurizing
     * @return
     */
    IPage<RoastingDesulphurizing> selectPage(Page<RoastingDesulphurizing> page, RoastingDesulphurizing roastingDesulphurizing);

    List<RoastingDesulphurizing> selectList(RoastingDesulphurizing roastingDesulphurizing);

    IPage<RoastingDesulphurizing> selectPageByTime(Page<RoastingDesulphurizing> page, String startDate, String endDate);

    IPage<RoastingDesulphurizing> getBrokenLineGraph(Page<RoastingDesulphurizing> page, String startDate, String endDate);

    void deleteAll();

    RoastingDesulphurizing getOneBytime(Date dateCellValue);

    void handlerTimeDifferenceData(String format, String format1);
}